@import './style.less';
@steps-prefix:       ~"@{prefix}-steps";

.@{steps-prefix} {
  min-height: 50px;
  padding: 15px;
  border-bottom: 2px solid #eee;

  .@{steps-prefix}-step {
    display: inline-block;
    margin-right: 20px;

    &-head {
      background: #fff;
      position: relative;
      display: inline-block;
      vertical-align: top;

      &-inner {
        background-color: #fff;
        border: 2px solid #ccc;
        width: 20px;
        height: 20px;
        line-height: 18px;
        text-align: center;
        border-radius: 20px;
        font-size: 14px;
        margin-right: 10px;
        transition: background-color 0.3s ease, border-color 0.3s ease;

        &-icon {
          display: inline-block;
        }
      }
    }

    &-main {
      position: relative;
      display: inline-block;
      vertical-align: top;

      &-title {
        font-size: 14px;
        margin-bottom: 4px;
        color: #999;
        background: #fff;
        display: inline-block;
        padding-right: 10px;
      }
    }
  }

  .@{steps-prefix}-step-current {
    .@{steps-prefix}-step-head-inner {
      border-color: #2ea5ff;
    }

    .@{steps-prefix}-step-main-title {
      color: #2ea5ff;
      font-weight: bold;
    }
  }

  .@{steps-prefix}-step-finished {
    color: #2ea5ff;
    font-weight: bold;

    .@{steps-prefix}-step-main-title {
      color: #666;
      font-weight: bold;
    }

    .@{steps-prefix}-step-head-inner {
      border-color: #2ea5ff;
    }
  }
}
